/* PreferencesAndTaboos.css */
.preferences-container {
  padding: 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.count {
  font-size: 14px;
  color: #666;
}

.count span {
  color: var(--adm-color-primary);
  font-weight: 500;
  margin: 0 4px;
}

.add-btn {
  color: var(--adm-color-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.add-btn::before {
  content: "+";
  margin-right: 4px;
  font-size: 16px;
}

.user-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.user-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.user-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.user-sex {
  margin-left: 8px;
  font-size: 14px;
  color: #666;
}

.user-detail {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.user-detail strong {
  color: #333;
  margin-right: 8px;
}

.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  gap: 12px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.delete-btn {
  background: #fff1f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}

.edit-btn {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}